<!-- <div id="top">
	<div class="top_in">
		<div class="top_in_left">
			<ul>
				<li class="cur"><a href="javascript:void(0)">新闻</a></li>
				<li><a href="javascript:void(0)">网页</a></li>
				<li><a href="javascript:void(0)">问答</a></li>
				<li><a href="javascript:void(0)">视频</a></li>
				<li><a href="javascript:void(0)">图片</a></li>
				<li><a href="javascript:void(0)">音乐</a></li>
				<li><a href="javascript:void(0)">地图</a></li>
				<li><a href="javascript:void(0)">百科</a></li>
				<li><a href="javascript:void(0)">购物</a></li>
				<li><a href="javascript:void(0)">良医</a></li>
				<li><a href="javascript:void(0)">手机</a></li>
				<li><a href="javascript:void(0)">软件</a></li>
			</ul>
		</div>
	</div>
</div> -->

<div class="search_out">
	<div class="search">
		<img src="__VIEW__/Index/images/logo.png" style="float:left">
		<form action="{|U:'search'}">
		<input type="text" class="s_txt" name="txt">
		<input type="submit" class="s_sbt_s sbt" value="搜索答案">
		</form>
		<input type="submit" class="s_sbt_ask sbt ask_show" value="我要提问">
		<div class="login"> 
		<if value="$_SESSION['username']">
			<a href="#">欢迎<span>{$_SESSION['username']}</span>&nbsp;<a href="javascript:void(0)" onclick="$.post(CONTROLLER+'&a=out',{data:1},function(JSON){
	  		alert(JSON.message);
	  		location.reload(true);
	  	},'JSON')">退出</a></a>
	  	<p><a href="{|U:'myque'}">我的问题</a></p>
		<else>
			<a href="#" id="denglu">登录</a><span>|</span><a href="#" id='zhuce'>注册</a>
		</if>
		</div>
	</div>
</div>	
<!-- 搜索区块结束 -->
<!-- 导航区块 -->
<div class="menu_out">
	<div class="menu">
		<p>
			<a href="{|U:'index'}" style="background:#279005;">首页</a>
		<list from='$cat' name='$c'>
			<a href="{|U:'catque',array('cid'=>$c['cid'])}" {$c.class}>
					{$c.catname}
			</a>
		</list>
		</p>
	</div>
</div>
